package eitwitter.learning;

import java.util.TreeMap;

/**
 * Classe permettant de stocker toutes les statistiques 
 * d'une cat�gorie
 * @author AH & PJ
 */
public class Statistics {
	private int numberOfWords;
	private int numberOfDifferentWords;
	private double averageLenght;
	private TreeMap<Integer, Integer> frequentWords;

	private TreeMap<Integer, Double> significantWords;

	private TreeMap<Integer, Double> unsignificantWords;
	
	
	public int getNumberOfWords() {
		return numberOfWords;
	}

	public void setNumberOfWords(int numberOfWords) {
		this.numberOfWords = numberOfWords;
	}

	public int getNumberOfDifferentWords() {
		return numberOfDifferentWords;
	}

	public void setNumberOfDifferentWords(int numberOfDifferentWords) {
		this.numberOfDifferentWords = numberOfDifferentWords;
	}

	public double getAverageLenght() {
		return averageLenght;
	}

	public void setAverageLenght(double averageLenght) {
		this.averageLenght = averageLenght;
	}

	public TreeMap<Integer, Integer> getFrequentWords() {
		return frequentWords;
	}

	public void setFrequentWords(TreeMap<Integer, Integer> frequentWords) {
		this.frequentWords = frequentWords;
	}

	public TreeMap<Integer, Double> getSignificantWords() {
		return significantWords;
	}

	public void setSignificantWords(TreeMap<Integer, Double> significantWords) {
		this.significantWords = significantWords;
	}

	public TreeMap<Integer, Double> getUnsignificantWords() {
		return unsignificantWords;
	}

	public void setUnsignificantWords(TreeMap<Integer, Double> unsignificantWords) {
		this.unsignificantWords = unsignificantWords;
	}

}
